package com.sdy.dataexchange.meta.service.impl;

import com.sdy.dataexchange.biz.model.ExDbDict;
import com.sdy.dataexchange.meta.mapper.MetadataClassdbMappingMapper;
import com.sdy.dataexchange.meta.model.MetadataClassdbMapping;
import com.sdy.dataexchange.meta.service.MetadataClassdbMappingService;
import com.sdy.mvc.service.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author wyy
 * @since 2019-11-07
 */
@Slf4j
@Service
public class MetadataClassdbMappingServiceImpl extends BaseServiceImpl<MetadataClassdbMapping> implements MetadataClassdbMappingService {
    @Autowired
    private MetadataClassdbMappingMapper metadataClassdbMappingMapper;

    @Override
    public List<MetadataClassdbMapping> queryAll() {
        return metadataClassdbMappingMapper.queryAll();
    }
    @Override
    public List<ExDbDict> queryGetById(Integer dbId) {
        return metadataClassdbMappingMapper.queryGetById(dbId);
    }
}
